data structures & algorithms Practice Questions Answers Test with Solutions & More Shortcuts

data structures & algorithms PRACTICE TEST [2 - EXERCISES]

data structures & algorithms set 1

data structures & algorithms set 2

Question : 6

The complexity of Binary search algorithm is

a) O(n)

b) O(log )

c) O(n log n)

d) None of the above

Answer: (b)

Question : 7

The post order traversal of a binary tree is DEBFCA. Find out the pre order traversal

a) ABFCDE

b) ADBFEC

c) ABDECF

d) None of the above

Answer: (c)

Question : 8

The complexity of merge sort algorithm is

a) O(n)

b) O(log n)

c) O(n log n)

d) None of these

Answer: (c)

Question : 9

The depth of a complete binary tree is given by

a) D n = n log 2 n

b) Dn = n log 2 n+1

c) D n = log 2 n

d) D n = log 2 n+1

Answer: (d)

Question : 10

In a graph if e=(u, v) means

a) e begins at u and ends at v

b) u is processor and v is successor

c) both B and C are true

d) none is true

Answer: (c)

IMPORTANT computer mcq EXERCISES

data structures & algorithms Shortcuts »

Click to Read...

data structures & algorithms set 1 Online Quiz

Click to Start..
296 data structures & algorithms based computer MCQ set 1 question answer with explanation pdf

Recently Added Subject & Categories For All Competitive Exams

New 150+ Percentage Questions For IBPS Clerk Prelims 2024

Free Top Percentage Quants Aptitude based Multiple Choice Questions and Answers Practice Test Series, Quiz PDF & Mock Test for IBPS Clerk Prelims 2024 Exam

04-May-2024 by Careericons

Continue Reading »

Classification Reasoning MCQ For IBPS Clerk Prelims 2024

Most Important 100+ Classification based Verbal Reasoning Ability Multiple choice questions and answers PDF, Free New Mock tests For IBPS Clerk Prelims 2024

03-May-2024 by Careericons

Continue Reading »

Ratio and Proportion Questions with Solutions, IBPS Clerk

New Ratio and Proportion Quants Aptitude based Multiple Choice Questions and Answers Practice Test Series, Quiz & Mock Test for IBPS Clerk Prelims 2024 Exam

02-May-2024 by Careericons

Continue Reading »

Top Analogy Reasoning Ability For IBPS Clerk Prelims 2024

Most Important Analogy based Verbal Reasoning Multiple choice questions and answers practice quiz series PDF, Free New Mock tests For IBPS Clerk Prelims 2024

01-May-2024 by Careericons

Continue Reading »